/**课程类型对应
 * 0 必修
 * 1 限选
 * 2 任选
 */
export interface Course {
  id: number
  index: string //课序号
  name: string
  type: number
  location: string
  order: number | number[]
  teacher: string
  weekday: number | number[]
  credit: number
  week: number[]
  formatTime: string
  academy: string
  comment: string
  finalWeight: number
}
/**
 * 某门课程的成绩
 */
export interface Score {
  index: string
  name: string
  credit: number
  regular: number
  finalScore: number
  total: number
  point: number
  ranking: number
}

export interface GPA {
  gpa: number
  ranking: number
}
